package org.example.registermvcboost2;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;

@Controller
public class RegisterController {
    @GetMapping("/register")
    public String registerForm(@ModelAttribute("user") Register register){
        return "registerForm";
    }
}
